<?php if (!defined('THINK_PATH')) exit();?><div class="row-fluid">
<div class="span2">
	<ul class="nav nav-list bs-docs-sidenav" style="margin:0;">
		<?php if(is_array($sms_category)): $i = 0; $__LIST__ = $sms_category;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li><a href="javascript:getTemplateList(<?php echo ($vo["category_id"]); ?>)"><i class="icon-chevron-right"></i><?php echo ($vo["category_name"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
		
	</ul>
</div>
<div class="span10" style="margin-left:10px">
	<table class="table table-condensed table-bordered table-hover holiday-content" style="height:100%">
		<thead><tr><td>短信内容</td><td>操作</td></tr></thead>
		<tbody>
			<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vi): $mod = ($i % 2 );++$i;?><tr><td><a href="javascript:void(0)" style="text-align:left"><?php echo ($vi["sms_content"]); ?></a></td><td width=40><i class="icon-th-list"></i><i class="icon-trash"></i></td></tr><?php endforeach; endif; else: echo "" ;endif; ?>
		</tbody>
	</table>
</div>
<div>
<div class="pagination" style="float:right">
	<?php echo ($page); ?>
</div>
<script>
	function getTemplateList($categoryID){
		$.ajaxload("__APP__/SMS/smsTemplate/category_id/" + $categoryID);
	}
</script>